package com.cll.learn.web;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * 消费端web项目启动类
 * @author CLL
 */
@SpringBootApplication(scanBasePackages = {"com.cll.learn"})
@EnableDubbo(scanBasePackages = {"com.cll.learn"})
@ServletComponentScan(basePackages = {"com.cll.learn"})
public class ServiceWebApplication {

    public static void main(String[] args) {
        System.out.println("开始启动。。。");
        SpringApplication.run(ServiceWebApplication.class, args);
        System.out.println("启动成功。。。");
    }

}
